//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Emilie Simon','The Cutting Room','New York, NY','Tuesday','5/7/2024','7:00 PM','6361787','Emilie-Simon-5-7-2024'],['Down to the Crossroads - Celebrating The Music of Eric Clapton','The Cutting Room','New York, NY','Saturday','5/11/2024','7:00 PM','6361679','Down-to-the-Crossroads---Celebrating-The-Music-of-Eric-Clapton-5-11-2024'],['Petty People: The People's Petty Tribute Band','The Cutting Room','New York, NY','Saturday','5/18/2024','7:00 PM','6361792','Petty-People--The-People-s-Petty-Tribute-Band-5-18-2024'],['Jude and the Strangers ','The Cutting Room','New York, NY','Saturday','5/18/2024','9:00 PM','6382864','Jude-and-the-Strangers--5-18-2024'],['The Best Of The 70s','The Cutting Room','New York, NY','Sunday','5/19/2024','2:00 PM','6361795','The-Best-Of-The-70s-5-19-2024'],['Mandonna and The Mangles','The Cutting Room','New York, NY','Thursday','5/23/2024','7:00 PM','6361794','Mandonna-and-The-Mangles-5-23-2024'],['Seb and Jess ','The Cutting Room','New York, NY','Saturday','5/25/2024','9:30 PM','6382865','Seb-and-Jess--5-25-2024'],['Rachael Sage','The Cutting Room','New York, NY','Wednesday','5/29/2024','7:00 PM','6369622','Rachael-Sage-5-29-2024'],['Peter Bradley Adams','The Cutting Room','New York, NY','Thursday','5/30/2024','7:00 PM','6361634','Peter-Bradley-Adams-5-30-2024'],['Riley Burke','The Cutting Room','New York, NY','Saturday','6/1/2024','9:00 PM','6361799','Riley-Burke-6-1-2024'],['Daddio Live - A Tribute to Cameo','The Cutting Room','New York, NY','Monday','6/3/2024','8:00 PM','6361796','Daddio-Live---A-Tribute-to-Cameo-6-3-2024'],['Jackie Venson','The Cutting Room','New York, NY','Friday','6/7/2024','10:00 PM','6302434','Jackie-Venson-6-7-2024'],['Ilaria Della Bidia','The Cutting Room','New York, NY','Sunday','6/9/2024','7:00 PM','6361798','Ilaria-Della-Bidia-6-9-2024'],['Tony Moore','The Cutting Room','New York, NY','Thursday','6/13/2024','7:00 PM','6361802','Tony-Moore-6-13-2024'],['Eban Brown Birthday Celebration','The Cutting Room','New York, NY','Saturday','6/15/2024','7:00 PM','6361800','Eban-Brown-Birthday-Celebration-6-15-2024'],['Eban Brown Birthday Celebration','The Cutting Room','New York, NY','Saturday','6/15/2024','10:00 PM','6361801','Eban-Brown-Birthday-Celebration-6-15-2024'],['Sirens Of Song Festival','The Cutting Room','New York, NY','Friday','6/21/2024','7:00 PM','6361635','Sirens-Of-Song-Festival-6-21-2024'],['Refugee','The Cutting Room','New York, NY','Saturday','6/22/2024','7:00 PM','6361676','Refugee-6-22-2024'],['BBMak','The Cutting Room','New York, NY','Monday','6/24/2024','8:00 PM','6361669','BBMak-6-24-2024'],['Jason Scoop','The Cutting Room','New York, NY','Friday','8/2/2024','7:00 PM','6361766','Jason-Scoop-8-2-2024'],['Six One Five Collective','The Cutting Room','New York, NY','Thursday','8/8/2024','7:00 PM','6361672','Six-One-Five-Collective-8-8-2024'],['Stuart Chaseman and The Born Again Sinners','The Cutting Room','New York, NY','Saturday','8/10/2024','7:30 PM','6361803','Stuart-Chaseman-and-The-Born-Again-Sinners-8-10-2024'],['John Violinist','The Cutting Room','New York, NY','Saturday','8/17/2024','8:00 PM','6361804','John-Violinist-8-17-2024'],['N.E.D. (No Evidence of Disease)','The Cutting Room','New York, NY','Saturday','9/28/2024','8:00 PM','6361805','N-E-D---No-Evidence-of-Disease--9-28-2024'],['Beyond The Wall - Pink Floyd Tribute','The Cutting Room','New York, NY','Saturday','10/5/2024','7:00 PM','6302433','Beyond-The-Wall---Pink-Floyd-Tribute-10-5-2024']],'Cutting Room','http://www.ticketnetwork.com/ticket/Cutting-Room-events.aspx');